﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Storage;

namespace Stats.Objects
{
    /// <summary>
    /// This class represents an object to contain simple infos about a registered user.
    /// </summary>
    public class RegisteredUser
    {
        /// <summary>
        /// The ID of the registered user
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// The username of the registered user
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// The gender of the registered user
        /// </summary>
        public Storage.EntityModels.Gender? Gender { get; set; }

        /// <summary>
        /// The constructor for the RegisteredUser object
        /// </summary>
        /// <param name="user_id">The ID of the registered user</param>
        /// <param name="user_username">The username of the registered user</param>
        /// <param name="gender">The gender of the registered user</param>
        /// <example>
        /// <code>
        /// RegisteredUser us = new RegisteredUser(432,"matt777","male");
        /// </code>
        /// </example>
        public RegisteredUser(int user_id, string user_username, Storage.EntityModels.Gender gender)
        {
            ID = user_id;
            Username = user_username;
            Gender = gender;
        }

    }
}
